home *** CD-ROM | disk | FTP | other *** search
- property pix, pdown
-
- on beginSprite me
- px = 0
- pdown = 0
- timeout("playthis").new(1000, #playSound, me)
- end
-
- on playSound me
- if (pix < 3) and not pdown then
- pix = pix + 1
- puppetSound(4, member("remove statue piece"))
- else
- pdown = 1
- pix = pix - 1
- if pix = 0 then
- pdown = 0
- s = the ticks + 15
- repeat while the ticks < s
- updateStage()
- end repeat
- end if
- end if
- end
-